<?php if (!defined('__TYPECHO_ROOT_DIR__')) exit; ?>

<aside id="aside" class="col-mb-12 col-2 kit-hidden-mb">
    <div class="body">
        <div class="user__wrapper">
            <img class="avatar" src="https://q1.qlogo.cn/g?b=qq&nk=748943649&s=100" alt="QQ头像">
            <div class="nikename">九条米法</div>
        </div>

        <div class="nav__wrapper">
            <section class="widget link__wrapper">
                <header class="widget-title"><?php _e('导航'); ?></header>
                <ul class='navgation'>
                    <li>
                        <a href="/">首页</a>
                    </li>
                    <?php $this->widget('Widget_Contents_Page_List')->to($pages); ?>
                    <?php while($pages->next()): ?>
                    <li>
                        <a class="link<?php if($this->is('page', $pages->slug)): ?> current<?php endif; ?>" href="<?php $pages->permalink(); ?>" title="<?php $pages->title(); ?>"><?php $pages->title(); ?></a>
                    </li>
                    <?php endwhile; ?>
                    <li>
                        <a href="/">友链</a>
                    </li>
                </ul>
            </section>

            <section class="widget link__wrapper">
                <header class="widget-title"><?php _e('分类'); ?></header>
                <?php $this->widget('Widget_Metas_Category_List')->listCategories([
                    'wrapClass'=>'widget-list',
                    'showCount'=>true,
                    'countTemplate'=>'<span class="count">%d</span>'
                ]); ?>
            </section>
        </div>

        <ul class="links">
            <li>
                <a target="__blank" href="https://shang.qq.com/wpa/qunwpa?idkey=c2918c5cd64deb40b6aee637fc4024b94e4055251bcbd62248ca8768bed3f521">
                    <i class="iconfont icon-web-icon-"></i>
                    <div>QQ</div>
                </a>
            </li>
            <li>
                <a target="__blank" href="https://gitee.com/mimiva">
                    <i class="iconfont icon-gitee-fill-round"></i>
                    <div>gitee</div>
                </a>
            </li>
            <li>
                <a target="__blank" href="https://space.bilibili.com/924292">
                    <i class="iconfont icon-bilibili-fill"></i>
                    <div>bilibili</div>
                </a>
            </li>
        </ul>
    </div>
</aside>